package com.job.blossom;

import com.job.ming.zuoye0705.Student;

/**
 * @author ZJM
 * @version 1.0
 * @since 2022-07-06 13:25:02
 */
public class Test0705 {
    public static void main(String[] args) {


        Student0705 stu1 = new Student0705();
        stu1.exam();
//        Student stu1 = new Student();
        Student0705 stu2 = new Student0705();
        stu2.grade = 120;
        stu1.name = null;
        System.out.println(stu2.grade);
        System.out.println(stu1.grade);
        System.out.println(stu1.name);

        Student0705 stu3 = new Student0705("张三","数学" ,201);
        Student0705 stu4 = new Student0705(150);

        System.out.println(stu3.room);
        System.out.println(stu4.grade);
    }
}
